
#include <maya/MFnPlugin.h>

#include "helloMaya.h"

MStatus initializePlugin(MObject obj)
{
	MStatus status;
	MFnPlugin pluginFn(obj, "Cashmere", "0.1.0", "Any");

	status = pluginFn.registerCommand("helloMaya", helloMaya::creator);
	if (!status)
	{
		status.perror("register command failed");
		return status;
	}

	return status;
}

MStatus uninitializePlugin(MObject obj)
{
	MStatus status;
	MFnPlugin pluginFn(obj);

	status = pluginFn.deregisterCommand("helloMaya");
	if (!status)
	{
		status.perror("deregister command failed");
		return status;
	}

	return status;
}
